﻿using System;
using System.Data.Linq.Mapping;

namespace IBBI.VOC {

    [Table(Name = "SUBSCRIBE")]
    public class Subscriber {

        [Column(Name = "ID", IsDbGenerated = true, IsPrimaryKey = true)]
        public int      Id          { get; set; }

        [Column(Name = "NAME")]
        public string   Name        { get; set; }

        [Column(Name = "EMAIL")]
        public string   Email       { get; set; }

        [Column(Name = "STATUS")]
        public int Status { get; set; }

        [Column(Name="DATE_CREATED")]
        public DateTime DateCreated { get; set; }

        [Column(Name = "DATE_UPDATED")]
        public DateTime DateUpdated { get; set; }

    }
}